package com.hellobike.haxing.modules.wms.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import com.hellobike.haxing.modules.wms.entity.Partition;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Update;

/**
 * @Description: t_wms_partition
 * @Author: haxing-boot
 * @Date:   2020-02-08
 * @Version: V1.0
 */
public interface PartitionMapper extends BaseMapper<Partition> {

    @Update("UPDATE t_wms_location SET partition_code=#{code} WHERE partition_id=#{id}")
    void updateRefLoc(@Param("id") Long id, @Param("code") String partitionCode);
}
